﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProjectMemberCommunicationList.aspx.cs" Inherits="DasIdeen.Pages.ProjectMemberCommunicationList" %>

<%@ Register Src="../UserControls/ProjectMemberRegisterControl.ascx" TagName="ProjectMemberRegisterControl"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
    </asp:ScriptManagerProxy>
    <div runat="server" id="DivProjectMemberRegisterControl" style="margin-top:20px">
        <uc1:ProjectMemberRegisterControl ID="ProjectMemberRegisterControl" runat="server" />
    </div>
   
    <div runat="server" id="DivGridViewProjectMemberMasterList" style="width:960px; margin:20px auto" visible="true">
       <div style="text-align:right;margin:0px 475px">
       <table>
       <tr>
       <td>
        <asp:Button ID="btnNewProjectMember" CssClass="CSSbutton" runat="server" 
            Text="Join Project Membership" Width="235px" 
            onclick="btnNewProjectMember_Click"/>
       </td>
       <td>
        <asp:Button ID="Button1" class="CSSButton" Style="width: 240px"
            runat="server" Text="Download Records In ExcelSheet" OnClick="btnDownload_Click"/>
       </td>
       </tr>
       </table>
      </div>
        <div id="ContentFeedbackList" style="width:960px; min-height:110px ;overflow:auto;margin:20px auto">
        <asp:GridView ID="gdvMemberCommunicationList" runat="server" 
            CellPadding="7" AllowSorting="true" Width="1300px" AutoGenerateColumns="False"
            OnPageIndexChanging="gdvMemberCommunicationList_PageIndexChanging" PageSize="50"
            FooterStyle-BackColor="#333333" FooterStyle-ForeColor="#F2F2F2" FooterStyle-Height="25px">
            <HeaderStyle BackColor="#859f22" Font-Size="13px" ForeColor="#FFFFFF" CssClass="gridHeaderStyle" />
            <Columns>
            <asp:BoundField DataField="ProjectMemberFirstName"  HeaderText="First Name" SortExpression="ProjectMemberFirstName"
                    HeaderStyle-CssClass="gridHeaderStyle"/>
            <asp:BoundField DataField="ProjectMemberLastName"  HeaderText="Last Name" SortExpression="ProjectMemberLastName"
                    HeaderStyle-CssClass="gridHeaderStyle"/>
            <asp:BoundField DataField="ProjectMemberPrimaryEmailID"  HeaderText="Primary Email ID" SortExpression="ProjectMemberPrimaryEmailID"
                    HeaderStyle-CssClass="gridHeaderStyle"/>
            <asp:TemplateField  HeaderText="Code Plex ID" HeaderStyle-CssClass="gridHeaderStyle">
                    <ItemTemplate>
                       <asp:HyperLink ID="lnkFirstName" runat="server" ToolTip="Click here to get full details"  style="text-decoration:underline;outline:none;color:Blue;" NavigateUrl='<%# Eval("ProjectMemberKey", "~/Pages/ProjectMemberDetails.aspx?ProjectMemberKey={0}") %>'
                    Text='<%# Eval("ProjectMemberCodePlexID") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
            <asp:BoundField DataField="ProjectMemberSkypeID"  HeaderText="Skype ID" SortExpression="ProjectMemberSkypeID"
                    HeaderStyle-CssClass="gridHeaderStyle"/>
            <asp:BoundField DataField="ProjectMemberCountryName"  HeaderText="Country Name" SortExpression="ProjectMemberCountryName"
                    HeaderStyle-CssClass="gridHeaderStyle"/>
            <asp:BoundField DataField="ProjectMemberCityName"  HeaderText="City Name" SortExpression="ProjectMemberCityName"
                    HeaderStyle-CssClass="gridHeaderStyle"/>
            <asp:BoundField DataField="ProjectMemberDateOfJoining"  HeaderText="Date Of Joining" SortExpression="ProjectMemberDateOfJoining"
                    DataFormatString="{0:d}" HeaderStyle-CssClass="gridHeaderStyle"/>
            <asp:BoundField DataField="ProjectMemberIsMemberOfFacebook"  HeaderText="Facebook" SortExpression="ProjectMemberIsMemberOfFacebook"
                    HeaderStyle-CssClass="gridHeaderStyle"/>
            </Columns>
        </asp:GridView>
    </div>       
</div>
</asp:Content>
